const mongoose = require("mongoose")
mongoose.connect("mongodb://127.0.0.1:27017/users").then(()=>{
    console.log("链接成功")
}).catch(err=>{
        console.log(err);
    })
    module.exports = mongoose;